package com.zuoye.day08;


public class CompanyOrder extends Order{

    public CompanyOrder(){
        super();
    }
    public CompanyOrder(int orderId, String ownerName, int orderNum, float orderPrice, String orderDate) {
        super(orderId, ownerName, orderNum, orderPrice, orderDate);
    }

    @Override
    public Object getProductCount() {
        return null;
    }

    @Override
    public Order orderClone() {
        CompanyOrder cloneCom = new CompanyOrder();
        cloneCom.orderId = this.orderId;
        cloneCom.ownerName = this.ownerName;
        cloneCom.orderNum = this.orderNum;
        cloneCom.orderPrice = this.orderPrice;
        cloneCom.orderDate = this.orderDate;
        return cloneCom;
    }

    }

